<?php

/**
 * default actions.
 *
 * @package    WacStorehouse
 * @subpackage default
 * @author     JianBinBi <prince.bi@gmail.com>
 * @version    SVN: $Id: actions.class.php 12479 2008-10-31 10:54:40Z fabien $
 */
class defaultActions extends sfActions {
    /**
     * Executes index action
     *
     * @param sfRequest $request A request object
     */
    public function executeIndex(sfWebRequest $request) {
        ;
    }

    public function executeGetAppStorehouseMenu(sfWebRequest $request)
    {
        return OutputHelper::getInstance()->outputXmlFormat(
                $this->getComponent('default', 'appStorehouseMenu', array()), $this);
    }

    public function executeGetSystemManagementMenu(sfWebRequest $request)
    {
        return OutputHelper::getInstance()->outputXmlFormat(
                $this->getComponent('default', 'systemManagementMenu', array()), $this);
    }
}
